﻿//Naming
Name Panzer 4 Ausf. J Snow
ShortName Panzer4Jsnow
ItemID 23490
//Visuals
Icon Panzer4JSnow
Model mineworld.Panzer4J
Texture SkinPanzer4JSnow
RotateWheels true
//Third Person Camera Distance
CameraDistance 7.5
MaxThrottle 0.6
MaxNegativeThrottle 0.4
//Steering modifiers
TurnLeftSpeed 0.35
TurnRightSpeed 0.35
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -35 -11 -22
WheelPosition 1 -35 -11 22
WheelPosition 2 35 -11 22
WheelPosition 3 35 -11 -22
WheelSpringStrength 0.5
//Bouncy bouncy
Bounciness 0.3
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 20
ShellSlots 5
//Driver and passenger positions
Driver 0 28 0 -360 360 -10 20
RotatedDriverOffset -13 0 0
Passengers 4
Passenger 1 35 -2 -8 core
Passenger 2 31 8 9 core -40 40 -30 30 maschinengewehr34 FrontMG
GunOrigin 2 44 20 10
Passenger 3 -38 21 13 core
Passenger 4 -38 21 -13 core
BarrelPosition 10 34 0
//Secondary gun
ShootPointSecondary 30 27.5 6 turret maschinengewehr34
ShootPointSecondary 19 44.5 0 turret maschinengewehr42
AllowAllAmmo False
AddAmmo WW2_Shell_German75mmKwK40AP
AddAmmo WW2_Shell_German75mmKwK40APCR
AddAmmo WW2_Shell_German75mmKwK40HE
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 100
//Sounds
StartSound PanzerIV_idle
StartSoundLength 35
EngineSound PanzerIV_move
EngineSoundLength 40
ShootSoundPrimary 7.5cmKwK40
ShootSoundSecondary MG34Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret 1 vehicleSeat
AddRecipeParts core 1 tankBody 1 vehicleSeat
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 6400 -43 -3 -26 85 23 52
SetupPart turret 4800 -28 20 -25 50 12 49
SetupPart rightTrack 3200 -48 -10 -25 102 19 7
SetupPart leftTrack 3200 -48 -10 18 102 19 7
BulletDetection 7
ModelScale 0.9
Description German Medium Tank